package com.atghost.minio.dto.res;


import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author zyp
 * @since 2024/3/16 上午10:27
 */
@Getter
@Setter
@ToString
public class StartChunkUploadRes {
    @ApiModelProperty("如果文件已存在,这个字段会有值,不用再传了")
    private FileInodeUploadRes exist;
    @ApiModelProperty("本次上传标识")
    private String id;
    @ApiModelProperty("分片大小")
    private Integer chunkSize;
    @ApiModelProperty("分片数量")
    private Integer chunkCount;
    @ApiModelProperty("粘滞会话路由参数")
    private String instanceId;
    @ApiModelProperty("下次要上传的分片")
    private Integer nextChunkId;
    @ApiModelProperty("文件名")
    private String fileName;
}
